package com.tinyengine.it.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 数据逻辑实体信息
 *
 * @TableName i_db_logical_info
 */
@Data
public class DbLogicalSimpleVo {
    private Integer id;
    private Integer appId;
    /**
     * 服务ID
     */
    @NotNull(message = "服务ID不能为空")
    @Schema(description = "服务ID")
    private Integer serviceId;

    /**
     * 属性代码
     */
    @NotNull(message = "code不能为空")
    @Schema(description = "code")
    private String code;

    /**
     * 属性名称
     */
    @NotNull(message = "属性名称不能为空")
    @Schema(description = "属性名称")
    private String name;

    /**
     * 描述
     */
    @Schema(description = "描述")
    private String description;

}